package com.mikey.common;

/**
 * @author :Mikey
 * @description :
 * @create :2022-12-05 12:22:00
 */
public class ApiResult {
    public int status;
    public String msg;
    public Object data;

    public ApiResult(int status,String msg, Object data) {
        this.status = status;
        this.msg=msg;
        this.data = data;
    }
    public static ApiResult success(int status,String msg,Object data){
        return new ApiResult(status,msg,data);
    }public static ApiResult error(int status,String msg,Object data){
        return new ApiResult(status,msg,data);
    }
}
